/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.chagee.store.operation.common.constant;

/**
 * 通用常量
 *
 * @author Chill
 */
public interface CommonConstant {

	String OPERATE_SOURCE = "operation_sys";
	String SUPPLIER = "供应商";

	/**
	 * 逗号
	 */
	String OR_STRING = ",";

	/**
	 * 顿号
	 */
	String SYMBOL_PAUSE = "、";

	String NONE_STRING = "-";

	/**
	 * 通用字符：0
	 */
	String ZERO = "0";
	String ONE = "1";
	String TWO = "2";

	String XLSX = ".xlsx";

	/**
	 * 时间转换格式
	 */
	String FORMAT = "yyyy-MM-dd HH:mm:ss";
	String DATE_FORMAT = "yyyy/MM";
	String DATE_TIME_FORMAT = "yyyy/MM/dd";

	/**
	 * sword 系统名
	 */
	String SWORD_NAME = "sword";

	/**
	 * saber 系统名
	 */
	String SABER_NAME = "saber";

	/**
	 * 顶级父节点id
	 */
	Integer TOP_PARENT_ID = 0;

	/**
	 * 顶级父节点名称
	 */
	String TOP_PARENT_NAME = "顶级";


	/**
	 * 默认密码
	 */
	String DEFAULT_PASSWORD = "123456";

	Integer NOT_DELETE_FLAG = 0;
	Integer DELETE_FLAG = 1;
	Integer INTEGER_TWO = 2;
	Integer INTEGER_THREE = 3;
	Integer PAGE_SIZE_MAX = 9999;
	/**
	 * 链路id
	 */
	String TRACE_ID = "traceId";

	String LIMIT_ONE_SQL = "limit 1";

	String LIMIT_SIZE_SQL = "limit 500";

	String DEFAULT_SHEET_NAME = "sheet";

	/**
	 * 三方打烊工单
	 */
	String THIRD_WORK_ORDER="三方打烊工单";

	/**
	 * 三方打烊结算工单
	 */
	String SETTLEMENT_WORK_ORDER="打烊结算单";


	/**
	 * 打烊工单评价信息
	 */
	String WORK_ORDER_EVALUATE="打烊工单评价信息";

	/**
	 * 门店配置打烊任务
	 */
	String TASK_COUNT="1";


	/**
	 * 分公司三方打烊负责人 角色
	 */
	String COMPANY_TRIPARTIES_MANAGER= "分公司三方打烊负责人";

	/**
	 * 岗位名称：店长
	 */
	String STORE_OWNER= "店长";

	/**
	 * 岗位名称：店助
	 */
	String STORE_OWNER_ASSISTANT= "店助";

	/**
	 * 申诉审批通过Y
	 */
	String APPROVAL_FLAG_Y = "Y";

	/**
	 * 申诉审批驳回N
	 */
	String APPROVAL_FLAG_N = "N";

	String ROCKET_MQ_GROUP = "chagee-store-operation-delay";

	/**
	 * 工单变更已过期状态（每个工单11小时还未验收完成->已过期）
	 */
	String CLOSE_CLEAN_ORDER_DELAY_TOPIC = "close_clean_order_delay_topic";

	/**
	 * 工单AI分析异常通知发消息给iot topic
	 */
	String ACCEPTANCE_FOREWARNING_TOPIC = "store_issue_notice";

	/**
	 * 霸王功夫-blade-user服务
	 */
	String BLADE_USER = "blade-user";
	/**
	 * 霸王功夫-获取登录人的门店信息（包含门店编码）接口
	 */
	String USER_STORE_LIST = "/client/restricted/user-store-list";

	/**
	 * 霸王功夫-chagee-umu服务
	 */
	String CHAGEE_UMU = "chagee-umu";
	/**
	 *
	 */
	String UMU_USER = "/steward/sync/getManagerByStoreCode";

	/**
	 * 获取用户信息
	 */
	String GET_USER_DETAIL = "/client/user-info-by-phone";

	/**
	 * 权限设置
	 */
	String GRANT = "/client/add-user-role";


	//上传云砺单据类型
	String BILL_CODE_TYPE = "expensesBill";
	String SOURCE = "dySystem";


	//推送财务
	String BUSINESS_ID = "YJFW";

	String CURRENCY = "CNY";

	/**
	 * 结算单超时时间 (小时)
	 */
	Long WAIT_PAY_OUT_TIME = 72L;

	String REDIRECT = "?redirect=";

	/**
	 * 结算单调整原因
	 */
	String SETTLEMENT_DEFAULT_REMARK = "{frontMonth} 结算单金额负数自动扣罚：{adjustMoney}";


	/**
	 * 工单/任务 申诉自动驳回默认 审核原因
	 */
	String HANDLE_APPEAL_REASON = "已超时驳回";

	String PAGE_RETURN_URL = "previousPage";

	String PAY_CHANNEL = "B10029";

	/**
	 * 订单状态
	 */
	Integer PAY_CONFIRM_STATUS = 2;

}
